package com.jframework.module.usps.beans.rates;


import com.jframework.module.usps.beans.Package;

public class IntlRateRequestPackage implements Package 
{
    protected String ID = null;
    protected Integer pounds = null;
    protected Integer ounces = null;
    protected String mailType = null;
    protected Double valueOfContents = null;
    protected String country	= null;

    public IntlRateRequestPackage()
    {
	
    }
    
    public IntlRateRequestPackage(String test)
    {
	this.ID = test;
	this.pounds = new Integer(2);
	this.ounces = new Integer(3);
	this.country = "INDIA";
	this.valueOfContents = new Double(56.78);
    }
    
    public boolean equals(Object obj)
    {
	if (null != obj
	 && obj instanceof IntlRateRequestPackage
	 && this.ID.equalsIgnoreCase(((IntlRateRequestPackage)obj).getID())
	)
	   return true;
	
	return false;
    }

    /**
     * @return the country
     */
    public String getCountry() {
        return this.country;
    }

    /**
     * @param country the country to set
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * @return the iD
     */
    public String getID() {
        return ID;
    }

    /**
     * @param id the iD to set
     */
    public void setID(String id) {
        this.ID = id;
    }

    /**
     * @return the mailType
     */
    public String getMailType() {
        return this.mailType;
    }

    /**
     * @param mailType the mailType to set
     */
    public void setMailType(String mailType) {
        this.mailType = mailType;
    }

    /**
     * @return the ounces
     */
    public Integer getOunces() {
        return this.ounces;
    }

    /**
     * @param ounces the ounces to set
     */
    public void setOunces(Integer ounces) {
        this.ounces = ounces;
    }

    /**
     * @return the pounds
     */
    public Integer getPounds() {
        return this.pounds;
    }

    /**
     * @param pounds the pounds to set
     */
    public void setPounds(Integer pounds) {
	this.pounds = pounds;
    }

    /**
     * @return the valueOfContents
     */
    public Double getValueOfContents() {
        return valueOfContents;
    }

    /**
     * @param valueOfContents the valueOfContents to set
     */
    public void setValueOfContents(Double valueOfContents) {
        this.valueOfContents = valueOfContents;
    } 
 

}
